Total Complexity | 32 |
Dependencies | 6 |
Dependents | 1 |
Total lines | 184 |
Lines of code | 114 |
Logical lines of code | 58 |
Comment lines | 43 |
Methods | 9 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
should_register_pre_install_wc_pay_promoted_gateway() | 51 | 8 | 24 | |
__construct() | 49 | 6 | 27 | |
set_gateway_top_of_list() | 63 | 6 | 9 | |
get_promotions() | 58 | 3 | 16 | |
get_wc_pay_promotion_spec() | 62 | 2 | 12 | |
possibly_filter_recommended_payment_gateways() | 64 | 2 | 11 | |
possibly_register_pre_install_wc_pay_promotion_gateway() | 71 | 2 | 6 | |
get_specs() | 70 | 2 | 6 | |
delete_specs_transient() | 81 | 1 | 3 |